3.1.63 \(\int \frac {a d+a e x+(b d+a f) x^2+b e x^3+(c d+b f) x^4+c e x^5+c f x^6}{a+b x^2+c x^4} \, dx\) [63]

Optimal. Leaf size=20 \[ d x+\frac {e x^2}{2}+\frac {f x^3}{3} \]

[Out]

d*x+1/2*e*x^2+1/3*f*x^3

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 63, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.016, Rules used = {1600} \begin {gather*} d x+\frac {e x^2}{2}+\frac {f x^3}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*d + a*e*x + (b*d + a*f)*x^2 + b*e*x^3 + (c*d + b*f)*x^4 + c*e*x^5 + c*f*x^6)/(a + b*x^2 + c*x^4),x]

[Out]

d*x + (e*x^2)/2 + (f*x^3)/3

Rule 1600

Int[(u_.)*(Px_)^(p_.)*(Qx_)^(q_.), x_Symbol] :> Int[u*PolynomialQuotient[Px, Qx, x]^p*Qx^(p + q), x] /; FreeQ[
q, x] && PolyQ[Px, x] && PolyQ[Qx, x] && EqQ[PolynomialRemainder[Px, Qx, x], 0] && IntegerQ[p] && LtQ[p*q, 0]

Rubi steps

\begin {align*} \int \frac {a d+a e x+(b d+a f) x^2+b e x^3+(c d+b f) x^4+c e x^5+c f x^6}{a+b x^2+c x^4} \, dx &=\int \left (d+e x+f x^2\right ) \, dx\\ &=d x+\frac {e x^2}{2}+\frac {f x^3}{3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 20, normalized size = 1.00 \begin {gather*} d x+\frac {e x^2}{2}+\frac {f x^3}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*d + a*e*x + (b*d + a*f)*x^2 + b*e*x^3 + (c*d + b*f)*x^4 + c*e*x^5 + c*f*x^6)/(a + b*x^2 + c*x^4),
x]

[Out]

d*x + (e*x^2)/2 + (f*x^3)/3

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 17, normalized size = 0.85

method result size
default \(d x +\frac {1}{2} e \,x^{2}+\frac {1}{3} f \,x^{3}\) \(17\)
norman \(d x +\frac {1}{2} e \,x^{2}+\frac {1}{3} f \,x^{3}\) \(17\)
risch \(d x +\frac {1}{2} e \,x^{2}+\frac {1}{3} f \,x^{3}\) \(17\)
gosper \(\frac {x \left (2 f \,x^{2}+3 e x +6 d \right )}{6}\) \(18\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*d+a*e*x+(a*f+b*d)*x^2+b*e*x^3+(b*f+c*d)*x^4+c*e*x^5+c*f*x^6)/(c*x^4+b*x^2+a),x,method=_RETURNVERBOSE)

[Out]

d*x+1/2*e*x^2+1/3*f*x^3

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 17, normalized size = 0.85 \begin {gather*} \frac {1}{3} \, f x^{3} + \frac {1}{2} \, x^{2} e + d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d+a*e*x+(a*f+b*d)*x^2+b*e*x^3+(b*f+c*d)*x^4+c*e*x^5+c*f*x^6)/(c*x^4+b*x^2+a),x, algorithm="maxima
")

[Out]

1/3*f*x^3 + 1/2*x^2*e + d*x

________________________________________________________________________________________

Fricas [A]
time = 0.39, size = 16, normalized size = 0.80 \begin {gather*} \frac {1}{3} \, f x^{3} + \frac {1}{2} \, e x^{2} + d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d+a*e*x+(a*f+b*d)*x^2+b*e*x^3+(b*f+c*d)*x^4+c*e*x^5+c*f*x^6)/(c*x^4+b*x^2+a),x, algorithm="fricas
")

[Out]

1/3*f*x^3 + 1/2*e*x^2 + d*x

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 15, normalized size = 0.75 \begin {gather*} d x + \frac {e x^{2}}{2} + \frac {f x^{3}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d+a*e*x+(a*f+b*d)*x**2+b*e*x**3+(b*f+c*d)*x**4+c*e*x**5+c*f*x**6)/(c*x**4+b*x**2+a),x)

[Out]

d*x + e*x**2/2 + f*x**3/3

________________________________________________________________________________________

Giac [A]
time = 4.05, size = 17, normalized size = 0.85 \begin {gather*} \frac {1}{3} \, f x^{3} + \frac {1}{2} \, x^{2} e + d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d+a*e*x+(a*f+b*d)*x^2+b*e*x^3+(b*f+c*d)*x^4+c*e*x^5+c*f*x^6)/(c*x^4+b*x^2+a),x, algorithm="giac")

[Out]

1/3*f*x^3 + 1/2*x^2*e + d*x

________________________________________________________________________________________

Mupad [B]
time = 0.03, size = 16, normalized size = 0.80 \begin {gather*} \frac {f\,x^3}{3}+\frac {e\,x^2}{2}+d\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*d + x^2*(b*d + a*f) + x^4*(c*d + b*f) + a*e*x + b*e*x^3 + c*e*x^5 + c*f*x^6)/(a + b*x^2 + c*x^4),x)

[Out]

d*x + (e*x^2)/2 + (f*x^3)/3

________________________________________________________________________________________